defmodule House.Repo.Migrations.CreateHouse.BasicData.Item do
  use Ecto.Migration

  def change do
    create table(:items) do
      add :address, :string
      add :gps, :string
      add :name, :string
      add :price, :float
      add :fee, :float
      add :year, :integer
      add :floor, :string
      add :service, :string
      add :summary, :text
      add :stop, :string
      add :around, :string
      add :sunshine, :string
      add :noise, :string
      add :kitchen, :float
      add :fitment, :string
      add :terrace, :float
      add :bedroom, :float
      add :livingroom, :float
      add :traffic, :string
      add :heating, :string
      add :investment, :string
      add :license, :string
      add :loan, :string

      timestamps()
    end

  end
end
